home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Tech Arsenal 1
/
Tech Arsenal (Arsenal Computer).ISO
/
tek-04
/
422mods.zip
/
SEPUL01.422
< prev
next >
Wrap
Text File
|
1993-03-26
|
2KB
|
53 lines
salkdj
Frodo #43 @13473
Mon Mar 22 17:59:46 1993
│ Mod name: SEPUL01.MOD Files Modified: CONIO.C
│ Difficulty: Too simple
│ Author: Sepulcher
│ Description: When a user runs out of time, they have the option to
│ withdraw time from their timebank (if you have a
│ timebank MOD installed, I don't know how to do it
│ with a chain) instead of the annoying-as-hell "Time
│ Expired. ░╞╘ö9G Qs▓╒ß *click*" thing.. This is
│ kinda like Telegard.
└───────────────────────────────────────────────────────────────────
If no one has thought of this before, I'm surprised.. It's very
easy and very convenient. And very obvious.
Disclaimer: If you can possibly find a way to mess this one up, it's
your problem, not mine.
Also: This works fine for me, if you can think of a way to improve it
go ahead...
In CONIO.C search for the following:
if (nsln==0.0)
hangup=1;
Or something like that, it may say logoff(); instead of the hangup=1;
so change it to make it look like this:
if (nsln==0.0) {
outstr("\r\nYour time has expired. Withdraw from your Time Bank? ");
if (yn()) {
timebank(); /* <──────┐ */
} else /* change that to whatever your timebank is called,*/
logoff(); /* my timebank void is called timebank, yours might*/
} /* be different */
End mod.
You can change it however you want, I shouldn't take credit for this
mod because someone must have thought of it before me. (Note: I can't
program worth doodoo so some of it might be inefficient, like the
logoff() or the { and } things.. so please reply if you have any
suggestions or post your revision on the sub where you saw this.
--Thanks